color

Undocumented in source. Be warned that the author may not have intended to support it.
  1. HipColorf color(float[4] c)
  2. HipColorf color(float r, float g, float b, float a)
    pragma(inline, true)
    color
    (
    float r
    ,
    float g
    ,
    float b
    ,
    float a = 1.0
    )
  3. HipColor color(ubyte r, ubyte g, ubyte b, ubyte a)
  4. HipColor color(uint c)

Meta